package com.lx.pc.service.transaction;

import java.math.BigInteger;

import com.lx.pc.domain.vo.transaction.TransactionVo;
import com.lx.pc.service.IService;
import com.lx.pc.utils.OmsPage;

public interface ITransactionService extends IService<TransactionVo, BigInteger>{

	/**
	 * 查询总数
	 */
	public int findByTransactionCount(TransactionVo transaction);
	
	/**
	 * 查询方法
	 * @param page
	 * @param size
	 * @return
	 */
	public OmsPage<TransactionVo> findByTransaction(TransactionVo transaction,Integer page,Integer size);
	
	/**
	 * 收入
	 * @param transaction
	 * @return
	 */
	public Float findByTransactionIncomeCount(TransactionVo transaction);
	
	/**
	 * 支出
	 * @param transaction
	 * @return
	 */
	public Float findByTransactionExpenditureCount(TransactionVo transaction);
	
}
